package com.lm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lm.pojo.*;

import java.util.List;

public interface ServeService {
    IPage<Serve> find(Serve serve);

    List<Organization> findOrg();

    List<DocterTeam> findDoctorTeam(Integer id);

    List<ServicePackage> findServicePackage(Integer teamId);

    List<Docter> findDoctor(Integer teamId);

    List<ServiceItem> findItem(Integer packageId);

    List<Resident> search(String name);

    List<Resident> familyMembers(Integer residentId);

    void insert(Serve serve);

    Serve findServiceById(Integer residentId);

    void updateState(Integer serviceRecordId);

    void insertHealth(ServiceHealthInfo serviceHealthInfo);

    IPage<Serve> findLists(Serve serve);

    void updateStates(Integer serviceRecordId, String serviceCancel);

    void updateStateBs(Integer serviceRecordId, String serviceInfo);

    void saveServices(Serve serve);

    void updateStateBes(Integer serviceRecordId);
}
